#ifndef	_DANGZHIOS_INTERFACE_H
#define	_DANGZHIOS_INTERFACE_H
#include <hardware/hardware.h>
 
__BEGIN_DECLS
 

#define	DANGZHIOS_HARDWARE_MODULE_ID	"dangzhios"
 

struct dangzhios_module_t{
    struct hw_module_t common;
};
 

struct dangzhios_device_t{
	struct hw_device_t common;
	int fd;
	int fantemp_fd;
	int(*setvalue)(struct dangzhios_device_t* dev, int val, void* buf);
	int(*getvalue)(struct dangzhios_device_t* dev, int val);
	int(*fantempctrl)(struct dangzhios_device_t* dev, int val, void* buf);
	 
};
 
__END_DECLS
 
 
#endif
